import threading
import time


def print_thread_name(thread_name):
    while True:
        print("Thread：", thread_name)
        time.sleep(0.5)

threading_obj1 = threading.Thread(target=print_thread_name, args=("我是线程1",))
threading_obj2 = threading.Thread(target=print_thread_name, kwargs={'thread_name': '我是线程2'})

threading_obj1.start()
threading_obj2.start()
